Skip to content

ci: fix red badges — bump release to Node 22, drop duplicate release job#2

Merged
chatman-media merged 1 commit into
mainfrom
claude/fix-release-workflow
Jun 28, 2026
Merged

ci: fix red badges — bump release to Node 22, drop duplicate release job#2
chatman-media merged 1 commit into
mainfrom
claude/fix-release-workflow

Conversation

@chatman-media

Copy link
Copy Markdown
Owner

Why

After merging #1, the CI and Release badges went red. Tests passed on every Node version (20/22/24) — the failures were entirely in the release stage:

  1. release.yml ran on Node 20.x, but semantic-release 25 requires ^22.14 || >=24.10. It aborted immediately: node version ^22.14.0 || >= 24.10.0 is required. Found v20.20.2. (The CI matrix was bumped in feat: modernize landing page, refresh favicon, fix TS6/Biome2.5 build #1, but this file was missed.)
  2. ci.yml had its own release job running semantic-release in parallel with release.yml. The duplicate raced on every push, and its failure turned the CI badge red even though all tests passed.

What changed

  • release.yml: Node 20.x22.x.
  • ci.yml: removed the redundant release job. CI is now test-only; release.yml is the single source of publishing (it also handles JSR).

⚠️ Action still required (repo secret — cannot fix in code)

The release also failed npm token verification:

EINVALIDNPMTOKEN  Invalid npm token.

The NPM_TOKEN repository secret is invalid/expired and must be refreshed:

  1. Create a new npm automation (or granular publish) token at npmjs.com → Access Tokens.
  2. Update it in GitHub → repo Settings → Secrets and variables → Actions → NPM_TOKEN.

Until then the Release badge will stay red (the npm publish step can't authenticate). After this PR + a valid token, the next push to main should publish cleanly and both badges go green.

The CI badge will go green as soon as this merges (CI no longer runs a release step).

The post-merge runs on main failed in the release stage:

- release.yml ran semantic-release on Node 20.x, but semantic-release 25
  requires Node ^22.14 || >=24.10 — it aborted before doing anything.
  Bump the release job to Node 22.x (CI test matrix was already updated).
- ci.yml carried its own `release` job that ran semantic-release in parallel
  with release.yml. The duplicate raced on every push and its failure turned
  the CI badge red even though all tests passed. Remove it so ci.yml is
  test-only and release.yml is the single source of publishing (it also
  handles the JSR publish).

Note: publishing still requires a valid NPM_TOKEN repo secret — the previous
run failed token verification (EINVALIDNPMTOKEN), which must be refreshed in
repo settings.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
telegram-badge Ready Ready Preview, Comment Jun 28, 2026 8:13pm

@chatman-media chatman-media merged commit 3347536 into main Jun 28, 2026
7 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant